package com.dlz.systemshop.mapper;

import com.dlz.systemshop.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 董熠涛
 * @date 2025/4/25 13:59
 */
@Mapper
public interface UserMapper {

    @Select("SELECT * FROM user WHERE username = #{username}")
    public User selectUserByUsername(String username);
}
